package com.simple.crawler.connect.http;

/**
 * @ClassName HttpProxy
 * @Author Administrator
 * @Desc TODO
 * @CreateTime 2019/8/3 22:11
 */
public class HttpProxy {

    private String host;

    private int port;

    private String userName;

    private String userPassword;

    public HttpProxy(String host, int port) {
        this.host = host;
        this.port = port;
    }

    public HttpProxy(String host, int port, String userName, String userPassword) {
        this.host = host;
        this.port = port;
        this.userName = userName;
        this.userPassword = userPassword;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

}
